package com.bookhouse.service.impl;

import com.bookhouse.dao.BaseDao;
import com.bookhouse.dao.CategoryDao;
import com.bookhouse.entity.Category;
import com.bookhouse.service.CategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by CiusCheung on 16/4/8.
 */

@Service("categoryService")
public class CategoryServiceImpl extends BaseServiceImpl<Category> implements CategoryService{

    @Resource(name = "categoryDao")
    private CategoryDao categoryDao;
    @Override
    protected BaseDao<Category> getDao() {
        return this.categoryDao;
    }
}
